package org.ruoyi.ppt.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ruoyi.common.translation.annotation.Translation;
import org.ruoyi.common.translation.constant.TransConstant;
import org.ruoyi.ppt.domain.SysSourcematerial;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 知识图谱素材视图对象 sys_sourcematerial
 *
 * @author ageerle
 * @date Mon Sep 08 17:25:27 CST 2025
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysSourcematerial.class)
public class SysSourcematerialVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 对象存储主键
     */
    private Long ossId;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 原名
     */
    private String originalName;

    /**
     * 文件后缀名
     */
    private String fileSuffix;

    /**
     * URL地址
     */
    private String url;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 上传人
     */
    private Long createBy;

    /**
     * 上传人名称
     */
    @Translation(type = TransConstant.USER_ID_TO_NAME, mapper = "createBy")
    private String createByName;

    /**
     * 服务商
     */
    private String service;

}
